import handleAllpks from "./handleAllpks";

export default function resetAllpks(tabKey) {
    const {contractAllpks, agreeAllpks, contractData, agreeData} = this.state;
    if (tabKey === 'contract') {
        handleAllpks.set(contractAllpks);
        /*if (contractData) {
            this.props.cardPagination.setCardPaginationId({
                id: contractData.rows[0].values.pk_psndoc_sub.value,
                status: 1
            });
        }*/
    } else {
        handleAllpks.set(agreeAllpks);
        /*if (agreeData) {
            this.props.cardPagination.setCardPaginationId({
                id: agreeData.rows[0].values.pk_agreement.value,
                status: 1
            });
        }*/
    }
}
